using System;
using System.Reflection;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Windows.Forms;
namespace Srvtools
{
    class clientQueryPreviewer:ComponentDesigner
    {

        private frmClientQuery editor = null;

		public clientQueryPreviewer()
		{
		}
        
		public override void DoDefaultAction()
		{		
            editor = new frmClientQuery((ClientQuery)this.Component);
            editor.Text = ((ClientQuery)this.Component).Caption;
            editor.btnCancel.Enabled = false;
            editor.btnOk.Enabled = false;
            editor.ShowDialog();
            editor.Dispose();

		}
    }
}
